/** When your routing table is too long, you can split it into small modules**/

import Layout from '@/layout'

const chartsRouter = {
  path: '/one',
  component: Layout,
  redirect: 'noRedirect',
  name: 'CateOne',
  meta: {
    title: 'one',
    icon: 'line-chart'
  },
  children: [
    {
      path: 'date',
      component: () => import('@/views/one/DateLine'),
      name: 'OneDateLine',
      meta: { title: 'date line', noCache: true }
    },
    // {
    //   path: 'order',
    //   component: () => import('@/views/one/OrderLine'),
    //   name: 'OneOrderLine',
    //   meta: { title: 'order line', noCache: true }
    // },
    {
      path: 'order-bar-line',
      component: () => import('@/views/one/OrderBarLine'),
      name: 'OrderBarLine',
      meta: { title: 'order bar line', noCache: true }
    }
  ]
}

export default chartsRouter
